package com.cauli.file.model.dto.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Cauli
 * @date 2023-03-18 12:00
 * @description 上传文件DTO
 */
@Data
@ApiModel(value = "UploadFileDTO", description = "上传文件DTO")
public class UploadFileDTO {
    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("相对路径")
    private String relativePath;

    @ApiModelProperty("文件名")
    private String filename;

    @ApiModelProperty("切片数量")
    private int chunkNumber;

    @ApiModelProperty("切片大小")
    private long chunkSize;

    @ApiModelProperty("所有切片")
    private int totalChunks;

    @ApiModelProperty("总大小")
    private long totalSize;

    @ApiModelProperty("当前切片大小")
    private long currentChunkSize;

    @ApiModelProperty("md5码")
    private String identifier;
}
